home *** CD-ROM | disk | FTP | other *** search
- /*
- File: IllegalElementException.java
-
- Originally written by Doug Lea and released into the public domain.
- Thanks for the assistance and support of Sun Microsystems Labs, Agorics
- Inc, Loral, and everyone contributing, testing, and using this code.
-
- History:
- Date Who What
- 24Sep95 dl@cs.oswego.edu Create from collections.java working file
- 13Oct95 dl Changed protection statuses
- */
-
- package collections;
-
- import java.util.Enumeration;
- import java.util.NoSuchElementException;
-
- /**
- *
- *
- * IllegalElementException is thrown by Collection methods
- * that add (or replace) elements (and/or keys) when their
- * arguments are null or do not pass screeners.
- * @author Doug Lea
- * @version 0.93
- *
- * <P> For an introduction to this package see <A HREF="index.html"> Overview </A>.
- **/
-
- public class IllegalElementException extends IllegalArgumentException {
- public Object argument;
- public IllegalElementException() { super(); }
- public IllegalElementException(Object v, String msg) {
- super(msg);
- argument = v;
- }
-
- }
-
-
-